Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Grid Assembly / C1.Xamarin.Forms.Grid Namespace / GridRowColCollection<T> Class / IndexOf Method / IndexOf(Object) Method
The object to locate in the System.Collections.IList.


In This Topic
    IndexOf(Object) Method
    In This Topic
    Determines the index of a specific item in the System.Collections.IList.
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal value As Object _
    ) As Integer
    'Usage
     
    
    Dim instance As GridRowColCollection(Of T)
    Dim value As Object
    Dim value As Integer
     
    value = instance.IndexOf(value)
    public int IndexOf( 
       object value
    )

    Parameters

    value
    The object to locate in the System.Collections.IList.

    Return Value

    The index of value if found in the list; otherwise, -1.
    See Also